package com.jlnk.rxjavademo2.entity;

import com.google.gson.annotations.SerializedName;
import java.util.List;

public class WeatherEntity {

    @SerializedName("data")
    private List<WeatherData> weatherDataList;

    public List<WeatherData> getWeatherDataList() {
        return weatherDataList;
    }

    public void setWeatherDataList(List<WeatherData> weatherDataList) {
        this.weatherDataList = weatherDataList;
    }

    public static class WeatherData {
        @SerializedName("weather")
        private WeatherInfo weather;

        public WeatherInfo getWeather() {
            return weather;
        }

        public void setWeather(WeatherInfo weather) {
            this.weather = weather;
        }
    }
}